body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
/*导航栏开始*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 15px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 28px;
    font-weight: bold;
    color: #0084ff;
    text-decoration: none;
}

.navbar .buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.navbar .button {
    padding: 8px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #0084ff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar .button:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
}

.navbar .description {
    margin-left: 30px;
    font-size: 15px;
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    padding: 8px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #0084ff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropbtn:hover {
    background-color: #0066cc;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    /*#background-color: #ffffff;*/
    min-width: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
    padding: 1px 20px;
}

.search-box {
    margin-left: auto;
    margin-right: 15px;
}

.search-box input {
    padding: 8px 15px;
    width: 200px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    border-color: #0084ff;
}
/*导航栏结束*/

/*内容页面开始*/
/*Home页面，staff页面，Team/showfile页面*/
.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

th, td {
    border: 1px solid #e8e8e8;
    padding: 12px;
}

th {
    background-color: #fafafa;
    text-align: left;
    font-weight: 600;
    color: #444;
}

tr:nth-child(even) {
    background-color: #fafafa;
}

tr:hover {
    background-color: #f0f2f5;
    transition: background-color 0.3s ease;
}
/*内容页面结束*/


/*team 页面开始*/
.container {
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 改为2列 */
    gap: 30px;
    width: 90%;
    margin: 20px auto;
    padding: 0 10px;
}

.module {
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem; /* 增大字体 */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 1 / 1;
    padding: 20px; /* 增大内边距 */
    min-height: 200px; /* 设置最小高度 */
}

.module:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.module a {
    text-decoration: none;
    color: #0084ff;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 15px 30px;
    border: 2px solid #0084ff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.module a:hover {
    background-color: #0084ff;
    color: #ffffff;
    transform: translateY(-3px);
}
/*team 页面结束*/

/*上传页面开始*/
.upload-content {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 70%;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-control:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

.custom-file {
    margin-bottom: 2.5rem;
    position: relative;
    width: 70%;
}

.custom-file-input {
    position: relative;
    width: 100%;
    height: calc(1.5em + 1.5rem + 2px);
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    padding: 0.75rem 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1.25rem;
    color: #fff;
    content: "浏览";
    background-color: #0084ff;
    border-left: inherit;
    border-radius: 0 6px 6px 0;
}

.btn-primary {
    background-color: #0084ff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: auto;
    margin-top: 2rem;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0066cc;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.2);
}

@media (max-width: 768px) {
    .content-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .navbar {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar .buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .search-box input {
        width: 100%;
        min-width: 200px;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

/*上传页面结束*/